package jiyun.com.yiyanmeng;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import base.BaseFragment;
import presenter.MyPresenter;
import view.MyView;


/**
 * A simple {@link Fragment} subclass.
 */
public class MyFragment extends BaseFragment<MyView, MyPresenter> implements MyView{
    public static MyFragment newInstance() {
        
        Bundle args = new Bundle();
        
        MyFragment fragment = new MyFragment();
        fragment.setArguments(args);
        return fragment;
    }


    @Override
    public void showToast(String msg) {

    }

    @Override
    protected MyPresenter bindPresenter() {
        return new MyPresenter();
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initView(View view) {

    }

    @Override
    protected int bindLayout() {
        return R.layout.fragment_my;
    }
}
